package com.cockybook.poemspider.dao;

import com.cockybook.poemspider.beans.URLBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;


public interface UrlBeanRepository extends JpaRepository<URLBean,String> {

    @Query("from URLBean u where u.status=:status")
    URLBean findUser(@Param("status") int status);



}
